<template>
  <div class='container'>
    目录管理
    <div>1231</div>
    </div>
</template>

<script>
// 目录列表
import { list as getDirectorys } from '@/api/hmmm/directorys.js'
// 学科列表
import { list as getSubjects } from '@/api/hmmm/subjects.js'
export default {
  data () {
    return {
      directors: [],
      subjects: []
    }
  },
  async created () {
    // 获取到的目录列表
    this.directors = await getDirectorys()
    // 获取到的学科列表
    this.subjects = await getSubjects()
  }
}
</script>

<style scoped lang='less'></style>
